package com.huidao.dao;

import java.util.List;

import com.huidao.entity.Goods;

public interface GoodsDao {

	public List<Goods> getListGoods(String keyName, int currenpage,int pagesize, long gid);

	public boolean addGoods(Goods Goods);

	public boolean delGoods(long bid);
	
	public int total(String keyName, long gid) ;
	
	public boolean updateGoodsStatus(Goods goods);
	
	public boolean updateGoods(Goods goods);
	
	public boolean isExitGoods(Goods goods);
}
